package com.ruoyi.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户点赞话题对象 zhx_like_topic
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class ZhxLikeTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long likeTopicId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 话题id */
    @Excel(name = "话题id")
    private Long topicId;

    public void setLikeTopicId(Long likeTopicId) 
    {
        this.likeTopicId = likeTopicId;
    }

    public Long getLikeTopicId() 
    {
        return likeTopicId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("likeTopicId", getLikeTopicId())
            .append("userId", getUserId())
            .append("topicId", getTopicId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
